package online.misscl.lsy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author misscl
 * @since 2023/03/16 23:17
 */
@Getter
@Setter
@TableName("system_dict")
@ApiModel(value = "SystemDict对象", description = "字典表")
public class SystemDict implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("字典id")
    @TableId(value = "dict_id", type = IdType.AUTO)
    private Integer dictId;

    @ApiModelProperty("字典值")
    @TableField("dict_value")
    private String dictValue;

    @ApiModelProperty("字典编码")
    @TableField("dict_code")
    private String dictCode;

    @ApiModelProperty("字典类型")
    @TableField("dict_type")
    private String dictType;


}
